namespace jQube.Web.UI.Controls
{
    using System.ComponentModel;
    using System.Web.UI;
    using System.Web.UI.WebControls;

    public class AccordionContentPanel : Panel, INamingContainer
    {
        internal AccordionContentPanel(AccordionPane owner)
        {
            this.AccordionPane = owner;
            this.CssClass = "jQube-accordion-pane-content";
        }

        public AccordionPane AccordionPane { get; set; }

        protected override void OnInit(System.EventArgs e)
        {
            base.EnsureChildControls();
            base.OnInit(e);
        }

        [DefaultValue("jQube-accordion-pane-content")]
        public override string CssClass
        {
            get
            {
                return base.CssClass;
            }
            set
            {
                base.CssClass = value;
            }
        }
    }
}
